﻿@using LastoRevival.Website.Engine;




@*
  --------------------------------------------------------
               THIS IS THE MOBILE LAYOUT 
  --------------------------------------------------------
*@

<!DOCTYPE html>
<html>
<head runat="server">
	<title>
		@ViewBag.Title
	</title>
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<link rel="stylesheet" href="@Url.Content("~/Content/themes/base/jquery-ui.css")" type="text/css" media="all" />
	<script src="@Url.Content("~/Scripts/jquery-2.0.3.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery-ui-1.10.3.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/lasto.js")" type="text/javascript"></script>
	
	@if (Html.Profile().IsAdministrator)
	{
		@Html.Partial("AdminFunctions")
	}
	
	@Html.Raw(Html.GetCurrentTheme().CssPaths)
	@Html.Raw(Html.GetCurrentTheme().MobileCssPaths)
	
</head>
<body>

	<div id="page">
	
		@*@if (Html.IsAuthenticated())
		{
			@Html.Partial("MobileMenu")
		}*@
			
		<div id="header">
			@if (Html.IsAuthenticated()) 
			{
				@*<a id="menuLink" href="#" class="showMenu">@LanguageLoader.GetWord("Menu")</a>*@
				<a href="@Url.Action("ViewUser", "User", new { username = Html.Profile().Username })">@LanguageLoader.GetWord("Settings")</a>
				<a id="logoutLink" href="@Url.Action("Logout", "User")">@LanguageLoader.GetWord("Logout")</a>
			}
			else
			{
				<a id="loginLink" href="@Url.Action("Login", "User")">@LanguageLoader.GetWord("Login")</a>
			}
			<h1>
				<img src="/images/transparent.gif" id="headerImage" alt="" />
				<span id="title">@LanguageLoader.GetWord("IHA")</span>
			</h1>
		</div>

		<div id="breadcrumbs-container">
			@Html.Partial("BreadCrumbs-Mobile")
		</div>
		
		
		<div id="container">
		
			@RenderBody()
			
		</div>		
		
		
		<div id="footer">
		
			<a href="@Url.Action("StandardOnce", "Mobile")?returnUrl=@Request.Url">@LanguageLoader.GetWord("View Full Site")</a>

		</div>
		
	</div>
	

</body>
</html>
